package com.yzy.mall.repository

import com.yzy.mall.http.response.BaseResponse
import okhttp3.RequestBody
import retrofit2.http.*

interface CardService {
    @GET("queryByIdCardV2")
    suspend fun card(
        @Query("idCard") idCard: String
    ): BaseResponse<CardBean>

    @GET("queryMemberByIdCard")
    suspend fun iscard(
        @Query("idCard") idCard: String
    ): InfoBean


    @POST("wineMembers")
    suspend fun wineMembers(@Body body:RequestBody
    ): BaseResponse<Any>

    @POST("exchangeInfo")
    suspend fun exchangeInfo(@Body body:RequestBody
    ): BaseResponse<Any>
}